DEMO 3: This interactive demo shows an example of how we'll count through our list of rolls.

Frequency is the number of times something occurs. This demo counts the number of occurrences of each value in rolls.

  • Click Run and then follow the instructions on the stage.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)